home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10863 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.4 KB  |  37 lines

  1. Path: uuneo.neosoft.com!usenet
  2. From: Wmatthew@lan-aces.com (W. Matthews)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How can I make my own header-files?
  5. Date: 11 Mar 1996 15:54:36 GMT
  6. Organization: LAN-ACES, Inc.
  7. Message-ID: <4i1ibs$b7i@uuneo.neosoft.com>
  8. References: <4hukr6$2c9@mn5.swip.net>
  9. NNTP-Posting-Host: 198.65.178.8
  10. X-Newsreader: WinVN 0.92.5
  11.  
  12. In article <4hukr6$2c9@mn5.swip.net>, daniel.lundin@mailbox.swipnet.se (Daniel MarjamĪ£ki) says:
  13. >
  14. >Hallo!
  15. >
  16. >I want to make my own Header-files, but I don't know how to do. 
  17. >
  18. >Daniel.lundin@mailbox.swipnet.se
  19. >
  20. You may end up with a couple of dozen responses but one easy way to do this
  21. if you start out with the code file is to copy or move the variable and function
  22. declarations that will be used by other programs to the header file.  And might
  23. I suggest encapsulating the file with:
  24. #ifndef HEADER_FILE_ID
  25. #define HEADER_FILE_ID
  26. ...<prototypes & common varibles go here.>
  27. #endif /*HEADER_FILE_ID*/
  28. ______________________________________________
  29. |Wyatt Matthews:       Tech Support Department |
  30. |WMATTHEW@LAN-ACES.COM        -Internet-       |
  31. |WMATTHEW.MHS@LAN-ACES          -MHS-          |
  32. |LAN-ACES Tech Support      (713)890-9786      |
  33. |LAN-ACES BBS               (713)890-9790      |
  34. |LAN-ACES Fax               (713)890-9731      |
  35. |LAN-ACES Sales             (713)890-9787      |
  36. ______________________________________________
  37.